package com.xjtu.project.mapper;
import com.xjtu.project.aichat.SalesDTO;
import com.xjtu.project.aichat.SalesVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SaleMapper {
    //根据用户提供的商品价格区间，还有时间段返回商品销售量top10
    List<SalesVO> getSaleTop10(@Param("sales") SalesDTO salesDTO);
}
